package avicit.bdp.dds.dao.mapper;

import avicit.bdp.common.base.BaseDAO;
import avicit.bdp.dds.dao.entity.ProcessDefinitionHistory;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;


/**
 * process definition mapper interface
 */
public interface ProcessDefinitionHistoryMapper extends BaseDAO<ProcessDefinitionHistory> {


    Integer getNewVersionNo(@Param("processDefinitionId") String processDefinitionId);

    Page<ProcessDefinitionHistory> getDefinitionHistoryList(@Param("processDefinitionId") String processDefinitionId);

    void deleteProcessDefinitionHistory(@Param("processDefinitionId") String processDefinitionId);
}
